package com.example.hotelback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hotelback.entity.Room;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RoomMapper extends BaseMapper<Room> {

    @Select("select * from room where id = #{rid}")
    Room selectOneById(int rid);
}
